package com.ruoyi.vote.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.vote.admin.domain.VoteSign;
import com.ruoyi.vote.admin.domain.WxUserSub;
import com.ruoyi.vote.admin.domain.vo.WxUserSubVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户订阅Mapper接口
 *
 * @author 筑巢
 * @date 2023-07-25
 */
public interface WxUserSubMapper extends BaseMapperPlus<WxUserSubMapper, WxUserSub, WxUserSubVo> {

    /**
     * 根据条件获取订阅用户
     * @param queryWrapper
     * @return
     */
    List<WxUserSubVo> selectSubUser(@Param(Constants.WRAPPER) Wrapper<WxUserSub> queryWrapper);
}
